import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { StoryController } from './story.controller';
import { StoryService } from './story.service';
import { Story } from './entities/story';
import { Image } from './entities/image';
import { StoryLike } from './entities/storyLike';
import { User } from '../users/entities/user';

@Module({
  imports: [TypeOrmModule.forFeature([Story, Image, StoryLike, User])],
  controllers: [StoryController],
  providers: [StoryService],
})
export class StoryModule {}
